home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <ME_BRICK GUID="{C1151DCD-5E7C-4BDF-88CA-3ACAD588D547}" Name="RtRSqrt" GUIName="Sqrt Reciprocal" Description="Returns 1 / sqrt(X) (Per component) [rsqrt]">
- <ME_BRICK_INPUTPARAM GUID="{65D2544B-6D94-4AE9-B1DC-E627C6EB121D}" Name="Input" Type="RtNumeric"/>
- <ME_BRICK_OUTPUTPARAM GUID="{87AE562A-AD6B-4C55-B793-B6BE8678EB44}" Name="Result" Type="RtNumeric"/>
- <ME_BRICK_CODE><![CDATA[
- void RtRSqrt(in RtFloat Input, out RtFloat Result) {
- Result = rtx_Rsqrt(Input);
- }
-
- void RtRSqrt(in RtFloat3 Input, out RtFloat3 Result) {
- Result = rtx_Rsqrt(Input);
- }
-
- void RtRSqrt(in RtFloat4 Input, out RtFloat4 Result) {
- Result = rtx_Rsqrt(Input);
- }
-
- void RtRSqrt(in RtFloat3x3 Input, out RtFloat3x3 Result) {
- Result = rtx_Rsqrt(Input);
- }
-
- void RtRSqrt(in RtFloat4x4 Input, out RtFloat4x4 Result) {
- Result = rtx_Rsqrt(Input);
- }
- ]]></ME_BRICK_CODE>
- </ME_BRICK>
-